Use a very small amount of loc-tite or a dab of silicone on toggle switches and push button switches. The little bolts don't usually have a positive locking mechanism, and the ring terminals/wiring make it easy for the bolts to loosen off or fall out.