Update toggle-todo-editing-state.md

Adding more details to prevent misplacing the code. Since "isEditing: false" is followed by a comma, this piece of code must be added before "isCompleted:...".