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:...".
Merge pull request #1511 from paulld/patch-1

Update toggle-todo-editing-state.md