Merge changes from topic "ambient-play" into p9.0

* changes:
  AmbientPlay: fix crash in history
  AmbientPlay: Introduce history manager [4/4]
  Add preference for Ambient Play