Added when question change functionality