Added method to set the character that triggers token creation