Apple agrees to a new licensing deal with Warner Music Group