private void LoadLogic() { settingsLogic = new SettingsLogic(); wordLogic = new WordLogic(); WordList = wordLogic.WordList; historyLogic = new HistoryLogic(); history = historyLogic.LoadHistory<string>(); Word word; if (history.Count > 0) word = wordLogic.Search(history.Current); else word = wordLogic.Search(WordList.FirstOrDefault()); if (word != null) ShowDefinition(word); NotifyHistoryChange(); }