Fix for AGPUSH516 - create notification when app is closed.
Fix for AGPUSH517 - app will receive a notification when not in the foreground with the foreground flag set to false.  When user clicks on notification, the app will get a notification with the foreground flag set to true.