boolean (String id) { CharSequence prev = myHelper.getContent(); boolean result = myHelper.loadHistory(id); CharSequence userValue = myHelper.getContent(); if (prev != userValue && userValue != null) { setConsoleText(new Entry(userValue, -1), false, false); } return result; }