void (ItemEvent e) { // only selection event is considered if (e.getStateChange() == ItemEvent.SELECTED) { final TrelloList list = (TrelloList)e.getItem(); myRepository.setCurrentList(list); doApply(); } }