Adding cordova events
Adding cordova events