Changed the edit method to edit the non-current Vector<Task>