Fixes push notifications on iOS 8.