created clearQuestion function