Changed submit button from view to onclick - solves double score insert