                      case 'pronunciationAssessmentContinuous': return 'startContinuousRecognitionAsync()';
                    }
                })();

                scenarioStartButton.innerHTML = startButtonText;
                scenarioStopButton.innerHTML = `STOP ${startButtonText}`;
                if (scenarioSelection.value === 'pronunciationAssessmentWithRestAPI') {
                    scenarioStopButton.style.display = 'none';
                } else {
                    scenarioStopButton.style