The following two lines will restart a running WPF application