private void onAddAccountBtnClicked(object sender, RoutedEventArgs e)
        {
            AccountDetailsWindow accountDetailsWindow = new AccountDetailsWindow(AccountDetailsWindow.State.Add, this.userId);

            accountDetailsWindow.Closed += this.onAccountDetailsWindowClosed;
            accountDetailsWindow.Show();
        }
        public void onEditBtnClicked(object sender, RoutedEventArgs e)
        {
            Button               editBtn              = (Button)sender;
            AccountTitle         accountTitle         = (AccountTitle)editBtn.DataContext;
            AccountDetailsWindow accountDetailsWindow = new AccountDetailsWindow(AccountDetailsWindow.State.Edit, accountTitle.id, this.userId);

            accountDetailsWindow.Closed += this.onAccountDetailsWindowClosed;
            accountDetailsWindow.Show();
        }