Code cleanup, first notification plays correctly and resumes playlist
First working version that allows auto-off and notification playback in all states of the player (off, paused, playing). Stores and restores the current playlist