private void SaveButton_Click(object sender, RoutedEventArgs e)
        {
            SaveFileDialog dialog = new SaveFileDialog();

            if (dialog.ShowDialog() == true)
            {
                EventAccessor accessor = new EventAccessor();
                accessor.WriteEventFile(dialog.FileName, clickEventList);
            }
        }
        private void LoadButton_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();

            if (dialog.ShowDialog() == true)
            {
                EventAccessor     accessor = new EventAccessor();
                List <ClickEvent> events   = accessor.ReadEventFile(dialog.FileName);
                clickEventList = events;
                clickEventDataGrid.ItemsSource = clickEventList;
                clickEventDataGrid.Items.Refresh();
            }
        }