Caprice

n.
  1. An abrupt change in feeling, opinion, or action, proceeding from some whim or fancy; a freak; a notion.
  2. (Mus.) See Capriccio.