Instead, the notification shows up after you have paused it, presumably because showNotification() is placed in onPlayerStateChanged().
Then the notification disappears after completing a question. It will only reappear after pressing pause again in the next question. This behaviour probably occurs because the activity is finished and recreated with each next question.
Not sure where showNotification() should be placed instead to address these issues.