void () { super.doCancelAction(); TipsOfTheDayUsagesCollector.triggerDialogClosed(myShowingOnStartup); Map<String, Boolean> tipIdToLikenessState = myTipPanel.getTipIdToLikenessStateMap(); for (Map.Entry<String, Boolean> pair : tipIdToLikenessState.entrySet()) { String tipId = pair.getKey(); Boolean likenessState = pair.getValue(); TipsFeedback feedback = TipsFeedback.getInstance(); feedback.setLikenessState(tipId, likenessState); if (likenessState != null) { feedback.scheduleFeedbackSending(tipId, likenessState); } } }