Adds task to todolist