Change in App Delegate file, remote notifications to support both iOS7 and iOS8