Chaged submit to put badgeID in local Storage