finished magical question and choice submission to database via ajax