/// <summary>
        /// open the account detail window with the selected+ account information
        /// </summary>
        private void OpenEditAccountWindow()
        {
            AccountDetailView accountDetailView = new AccountDetailView();
            AccountDetailViewModel accountDetailViewModel = new AccountDetailViewModel(Types.DetialViewType.EDIT, selectedAccount);
            accountDetailView.DataContext = accountDetailViewModel;

            App.Current.MainWindow = accountDetailView;
            accountDetailView.ShowDialog();
        }
        /// <summary>
        /// open the account detail window with empty account information
        /// </summary>
        private void OpenAddAccountWindow()
        {
            AccountDetailView accountDetailView = new AccountDetailView();
            AccountDetailViewModel accountDetailViewModel = new AccountDetailViewModel(Types.DetialViewType.ADD);
            accountDetailView.DataContext = accountDetailViewModel;

            App.Current.MainWindow = accountDetailView;
            bool dialogResult = (bool)accountDetailView.ShowDialog();
            if (dialogResult == true)
            {
                accounts.Add(accountDetailViewModel.SelectedAccount);
            }
        }