Rework sendNotification method in IOSPushNotifier