Fixed logic to show the correct answer at the end, when max attempts is exhasted.