Fixed a bug where new entries wouldn't be added to the main window, because the ObservableCollection reference was invalid