public void clickDoneButton(Object itemId) {
   taskToChange = therapies.get(0).getTasks().get((Integer) itemId);
   if (changedTask == null) {
     changedTask = taskToChange;
   }
   if (taskToChange.getTaskState().equals("Solved")) {
     taskToChange = solvedController.clickDoneButton(changedTask, itemId);
   } else if (taskToChange.getTaskState().equals("ToImprove")) {
     taskToChange = toImproveController.clickDoneButton(changedTask, itemId);
   } else {
     taskToChange = notSolvedController.clickDoneButton(changedTask, itemId);
   }
   therapies.get(0).getTasks().set((Integer) itemId, taskToChange);
 }
 public void setTherapyView3(TherapyView3 therapyView3) {
   this.therapyView3 = therapyView3;
   solvedController.setView(therapyView3);
   notSolvedController.setView(therapyView3);
   toImproveController.setView(therapyView3);
 }