Update ui.cover to use cordova events