Refactoring for commands and how state of subtitles model is saved.
Refactoring for separating UI from commands execution.
Refactoring for UI.