Walmart trap help

Guys, I’m a total newb but I am trying to redo my Walmart trap. I want to swap out the on off switch. I tried to remove the switch and I can’t get it off. I’ve removed the soldering but the switch won’t come off the circuit. What am I doing wrong? Did I ruine my trap?

Could you post a photo? The immediate possibility that came to mind is that there’s still a lump of solder holding it in place. It may be you’ll have to keep whatever solder remains molten in order to remove the switch.

image

image