Go back into the IDE, find the switch, click on Edit, scroll down to device type, and select your new device type.