  return;
          }
          this.questions = [...this.wrongQuestions];
          this.shuffleIfNeeded();
          this.resetQuiz();
        },
        shuffleIfNeeded() {
          if (this.mode === 'random') {
            this.questions.sort(() => Math.random() - 0.5);
          }
        },
        resetQuiz() {
          this.currentIndex = 0;
          this.result = null;
          this.selectedAnswers = [];
          this.quizOver = false;
          this.currentQuestion = this.questions[this.curre