How to override usermod

I have made a custom usermod to show a clock. It is working fine. I have used total 60 LED. At a time only 4-8 LED’s are ON in it. All other LED’s are OFF. If I choose an effect only I can see it on only the lit LED’s. keeping all other OFF.

I wish to enable my usermod loop only if the effect “SOLD/STATIC” is selected otherwise apply the selected effect to all 60 LED’S.

Can anybody guide me what variable I can use for doing this or in what way I can do it ?