void (final boolean navigate) { if (updateRequested.compareAndSet(false, true)) { ApplicationManager.getApplication().invokeLater(() -> { if (updateRequested.compareAndSet(true, false)) { doShow(navigate); } }, myProject.getDisposed()); } }