togglebutton rating fix