use new onNotification() instead of onPlayback() for controlling Pause and resume functions