public void Start(int patternId, Difficulty difficulty) { _currentWindow = new MainWindow(); _context.LoadTasks(patternId, difficulty); _context.SetVisibilities(difficulty); _currentWindow.DataContext = _context; _currentWindow.Show(); }