Fix null bug for selectedAnswer