Activate megatrig key switch with gui toggle in halion7

So I’m trying to get a gui toggle that basically activates a megatrig key switch.

I want to have a few toggles that switch between different sample sets. All toggles need to be exclusive from one another. If a toggle is switched on, the others should switch off.

I added each different sampleset to a different layer. And I got MegaTrig working to switch between samplesets with different midi notes. But how do I add that same functionality to a GUI switch/toggle?

Thanks in advance!