void UpdateQuiz() { if (currentQuestionIndex < maxQuestions) { accordion.MoveTo(pickedLayers[currentQuestionIndex].Key, nextQuestionDelay); } else { this.state = QuizState.RESULT; accordion.MoveToStart(nextQuestionDelay); } }