Fixed callback so it works when the app is running either in the background or foreground.
* Notification now clears from the iOS notification center when it is opened.