I'm not sure, if this works:
Lua Code:
function EZTest_Config.DismountCheck.setFunc(state)
EZTestData.Config_Dismount = state
lib.ApplyLayout()
end
Try this and put a print in there to see if anything is happening at all when you click the button:
Lua Code:
EZTest_Config.DismountCheck.setFunc = function(state)
print("This is the DismountCheck button getting", state)
EZTestData.Config_Dismount = state
lib.ApplyLayout()
end