add category onoff check routine