editing a todo changes the name and removing the name removes the todo