private void moveCache() {
        if (ProgressBarDisposableHandler.isInProgress(this) || progress.isShowing()) {
            showToast(res.getString(R.string.err_detail_still_working));
            return;
        }

        new MoveToListAndRemoveFromOthersCommand(CacheDetailActivity.this, cache) {

            @Override
            protected void onFinished() {
                updateCacheLists(CacheDetailActivity.this.findViewById(R.id.offline_lists), cache, res, null);
            }
        }.execute();
    }
Enum of all possible pages with methods to get the view and a title.
main/src/main/java/cgeo/geocaching/CacheDetailActivity.java