private void executeAction(final Runnable r) {
        WherigoViewUtils.ensureRunOnUi(() -> {
            r.run();
            checkNotificationDisplay();
        });
    }
opens currently waiting dialog in given activity
main/src/main/java/cgeo/geocaching/wherigo/WherigoDialogManager.java