private void Slideshow_Click(object sender, RoutedEventArgs e)
        {
            List <string> filepaths = new List <string>();

            try
            {
                SlideShow SS = new SlideShow(BooleanSearchResults.ToArray(), ProfileName, Data, SaveSettings);
                SS.ShowDialog();
                if (SS.ReturnFile != "")
                {
                    ReturnFile = SS.ReturnFile;
                    this.Close();
                }
            }
            catch (Exception ex)
            {
                Error.WriteToLog(ex);
            }
        }