private void EditSelectedItem()
        {
            ListView.SelectedListViewItemCollection items = BalancesListView.SelectedItems;
            if (items.Count > 1)
            {
                MessageBox.Show("You can only edit one item at the same time.");
                return;
            }

            ObjectListViewItem lvi = items[0] as ObjectListViewItem;
            BalanceInformation underlyingObject = lvi?.UnderlyingObject as BalanceInformation;

            if (underlyingObject != null)
            {
                BalanceInformation         copy = underlyingObject.Copy();
                EditBalanceInformationForm form = new EditBalanceInformationForm(copy);
                if (form.ShowDialog() == DialogResult.OK)
                {
                    copy.CopyTo(underlyingObject);
                    lvi.SubItems[0].Text = underlyingObject.XbrlFilePath;
                }
            }
        }