Finished the implementation of adding and removing a task.