private void btnErrorLog_Click(object sender, RoutedEventArgs e)
        {
            string fileName = logProvider.GetFileNames()
                              .OrderBy(f => f)
                              .LastOrDefault();

            if (fileName == null)
            {
                MessageBox.Show("No errors");
                return;
            }

            string log = logProvider.FindFileContent(fileName);

            if (log == null)
            {
                MessageBox.Show("No errors");
                return;
            }

            if (log.Length > 800)
            {
                log = log.Substring(0, 800);
            }

            MessageBox.Show(log);
        }