private void onApplicationDeletedSuccess(Application app) {
   appStore.remove(app);
   listApps.remove(app);
   String message = "";
   if (app.getName() != null) {
     message = "Deleted application <b>" + app.getName() + "</b>";
   } else {
     message = "Deleted application";
   }
   NotificationUtils.showFeedbackMessage(AppsActivity.this, Html.fromHtml(message));
   listAdapter.notifyDataSetChanged();
 }
 private void onApplicationDeletedFailed(Application app) {
   NotificationUtils.showFeedbackMessage(AppsActivity.this, "Couldn't delete application");
 }