void RefreshProfileListFromDisk()
        {
            Profiles = new ObservableCollection<ProfileViewModel>();

            var list = ProfileRepository.LoadProfiles();

            foreach (Profile p in list)
            {
                ProfileViewModel pvm = new ProfileViewModel(p);

                if (pvm.IsActive)
                    App.CurrentProfile = pvm;

                Profiles.Add(new ProfileViewModel(p));
            }
        }
        private void ExecAddCommand(object obj)
        {
            Profile p = new Profile();
            SelectedProfile = new ProfileViewModel(p);

            IsEditDialogVisible = true;
        }