removed broken code from onNotificationPosted