Fixes Cordova error when trying to open the app from the notification bar.