Refactored undo removed tasks, added taskController