Lowercasing the message before the string check. Simplified logic for choosing the optin.