added the ability to change bot's default device type