private void selectedExercise(string exercise)
        {
            int exerciseIndex = 0;
            Exercise[] exercises = ExerciseFactory.GetExercises();
            for (int i = 0; i < exercises.Length; i++)
            {
                if (SharedContent.GetCommandString(exercises[i].name).Equals(exercise))
                {
                    exerciseIndex = i;
                    break;
                }
            }

            AudioMessageBox amb = new AudioMessageBox("Do you wish to calibrate the exercise?", MessageBoxButton.YesNo);
            amb.Owner = (Window)ScreenManager.GetHost();
            bool? dialogResult = amb.ShowDialog();

            if (dialogResult.HasValue && dialogResult == true)
            {
                unregisterSpeechCommands();
                SharedContent.IsCalibrated = true;
                ScreenManager.SetScreen(new CalibratingView(ExerciseFactory.GetExercises()[exerciseIndex]));
            }
            else if (dialogResult.HasValue && dialogResult == false)
            {
                unregisterSpeechCommands();
                SharedContent.IsCalibrated = false;
                ScreenManager.SetScreen(new ExercisePreview(ExerciseFactory.GetExercises()[exerciseIndex]));
            }
        }
        private void selectedResponse(string response)
        {
            if (response.Equals(SharedContent.GetCommandString(SharedContent.Commands.AddExercise)))
            {
                unregisterSpeechCommands();

                AudioMessageBox amb = new AudioMessageBox("This feature has not yet been implemented", MessageBoxButton.OK);
                amb.Owner = (Window)ScreenManager.GetHost();
                amb.ShowDialog();

                registerSpeechCommands();
            }
            else if (response.Equals(SharedContent.GetCommandString(SharedContent.Commands.Exit)))
            {
                Environment.Exit(0);
            }
        }