public PreferencesWindow(SettingsData settingsData, string location, Action <SettingsData> callOnSave)
        {
            InitializeComponent();
#if DEBUG
            this.AttachDevTools();
#endif
            DataContext = new PreferencesViewModel(settingsData, location, callOnSave, this.CloseCall);
        }
        // TODO: Remove once Avalonia fixes XAML parsing
        public PreferencesWindow()
        {
            InitializeComponent();
#if DEBUG
            this.AttachDevTools();
#endif
            DataContext = new PreferencesViewModel(null, null, null, this.CloseCall);
        }