Fix for crashing on iOS8 https://github.com/katzer/cordova-plugin-local-notifications/issues/281