Added compatibility with now playing center

also: added conditions to cover undefined behavior for song stopping.