Added a task to the list