Logic was extracted from MainWindowView to MainWindowViewModel