Submitting the quiz keeps on spinning