void (@NotNull Runnable callback) { ActionManager created = ApplicationManager.getApplication().getServiceIfCreated(ActionManager.class); if (created == null) { NonUrgentExecutor.getInstance().execute(() -> { ActionManager.getInstance(); invokeOnEdt(callback); }); } else { invokeOnEdt(callback); } }