private void BtnLoadItems_Click(object sender, RoutedEventArgs e)
        {
            // loads the data as json
            FileDialog fileDialog = new OpenFileDialog();

            if (fileDialog.ShowDialog() == true)
            {
                context.LoadItems(new FileInfo(fileDialog.FileName));
            }
        }