botherTimeouts.keySet().removeAll(entriesToDelete);
// Adding new BotherTimeout with updated timeout
Calendar cal = Calendar.getInstance();
cal.add(Calendar.MINUTE, timeoutMinutesFromNow);
BotherTimeout bt = BotherTimeout.FACTORY.createBotherTimeout(type, timeoutMinutesFromNow, currentUrl);
botherTimeouts.put(bt, cal.getTime());
// Updating session
currentRequest().getSession().setAttribute(BOTHER_TIMEOUTS_SESSION_KEY, botherTimeouts);
}