Prevent togglebutton from untoggling