changed method isNotificationEnabled to flag in StandOutFlags