user changes quiz type, inserts temp responses and delete previous responses according to the previous question type