added changes for push notification in iOS8