void (@NotNull LightweightWindowEvent event) { switchAlarm.cancelAllRequests(); if (Registry.is("ide.instant.theme.switch") && !event.isOk()) { switchLafAndUpdateUI(LafManager.getInstance(), initialLaf, false); } }