/*Helper to write changes to file and trigger view change*/
 void reflectChanges() {
   eventbus.post(
       new SetCurrentDisplayEvent(
           TaskUtils.getTasksList(tasksManager.getPendingTasks()), "All pending tasks"));
   // Notify tasks changed
   eventbus.post(new TasksChangedEvent());
   Session.getSession().commit();
 }
 private History() {
   undoStack = new Stack<UndoableRedoable>();
   redoStack = new Stack<UndoableRedoable>();
   tasksManager = TasksManager.getManager();
   logger = RaijinLogger.getLogger();
   eventbus = RaijinEventBus.getInstance();
 }