public void deleteClicked() { if (!view.confirm("Really delete this entry? You cannot undo this change.")) { return; } requests .registrationRequest() .remove() .using(view.getValue()) .fire( new Receiver<Void>() { public void onSuccess(Void ignore) { if (display == null) { // This activity is dead return; } // Go back to the previous place. placeController.goTo(getBackButtonPlace()); } }); }