Update ui.contextmenu to use cordova.exec and events