void listener_SpeechRecognized(object sender, System.Speech.Recognition.SpeechRecognizedEventArgs e)
        {
            // Fires when a phrase is recognized
            HeardTextBlock.Text = DateTime.Now.ToLongTimeString() + ": " + e.Result.Text;

            //when "Home" recognized, navigate to Home screen
            var newForm = new MainWindow(); //create your new form.
            newForm.Show(); //show the new form.
            this.Close(); //only if you want to close the current form.

            
        }
 private void homeBtn_Click(object sender, RoutedEventArgs e)
 {
     var newForm = new MainWindow(); //create your new form.
     newForm.Show(); //show the new form.
     this.Close(); //only if you want to close the current form.
 }