“Correct”/"Congratulations" message persists after restarting the quiz(Web-Desktop/Android)
Description of the Bug:
When the correct answer is entered, the expected "Correct" message is displayed. However, if the user selects Restart from beginning, the "Correct" message appears again immediately at the start of the lesson/quiz, even though no answer has been entered yet.
**Works fine for incorrect answers
Steps to Reproduce:
- Go to https://www.oppia.org/create/l0S8zoUrVQNd#/preview/Introduction
- Enter the correct answer → observe the "Correct" message.
- Select Restart from beginning.
- On the restart, the "Correct" message still appears at the start.
https://github.com/user-attachments/assets/8a677874-d4ce-43ea-9363-9beede338d86
The same applies for Congratulations message also
The Congrats message is present throughout the quiz,if not refreshed.
** Android
Correct https://github.com/user-attachments/assets/54c39735-ad3e-4ea4-9df3-6f3905d935e9
Congratulations https://github.com/user-attachments/assets/b8d3fbbc-232c-4ff8-bfe9-97785c95954e