added error checking to make sure question, answer, choice, and image fields are filled out