void (@NotNull String card, final int delay) { if (ApplicationManager.getApplication().isUnitTestMode()) return; myShowCardAlarm.cancelAllRequests(); myShowCardAlarm.addRequest(() -> { if (!myProgress.isCanceled()) { myCard.show(myCardContainer, card); } }, delay, myModalityState); }