Fixed togglebutton state