added helper function to enable edit todos
completed the todo list