Added validation for question marks and single quotes. Also coding the editing of the trivia activity