Added an item to the todo list