fixing push notifications for iOS 8