Fix edit-mode-by-name bug in EditCommand
Fix exception when typing back while in waiting mode.
Merge branch 'master' of https://github.com/cs2103aug2014-w11-1j/main