Fix vs.ui.Application API (for Cordova connection)