/** Called when the user presses enter. Creates a UserInput object and passes it to MainLogic. */
 public void onEnter() {
   feedback.setMessage(null);
   String command = commandText.getText(); // string received from user.
   commandText.setText("");
   UserInput userInput = new UserInput(command, USER_INPUT_TODAY_TAB);
   MainLogic.run(userInput);
   mainApp.showTodayOverview();
 }
 /** Converts a list of list of tasks from MainLogic to a list of ObservableList of Task. */
 private void getTaskListFromFile() {
   UserInput userInput = new UserInput(CMD_DISPLAY);
   MainLogic.run(userInput);
   ArrayList<ArrayList<Task>> temp = MainLogic.getTodayTasks();
   numberTaskArrayList(temp);
   setTaskTotalList(temp);
   setTablesArrayList();
 }