Try to auto change barcode format based on the contents of the token.