Added android / cordova event fix