Restore files states (fixed #234)
Merge
Fixed merge
Moved addition to _savedEditorStates in _insertState()
nits
Merge pull request #338 from dinhviethoa/234-restore-files-location

Restore files states (fixed #234).