deleteApp method
Implementation
Future deleteApp(ApplicationModel app) async {
busy = true;
// delete the application
bool ok = await System.deleteApplication(app);
// notify
if (!ok) System.toast('Failed to delete the application');
busy = false;
}