how to program the bot to understand if the sms doesn't arrive/numbers doesn't arrive or other problems, and to request a new number until the activation code is received
That checkbox means "SHOW or HIDE" additional settings, it does not mean
"ACTIVATE or DEACTIVATE" additional settings. Its like "+" - EXPAND and "-" - HIDE.