Store the WW_Toggle_Constants instance in a class property instead of a global.