added an item to the todo list