Re-wrote editTodo so that it doesn't do a GET before hand.