sets toggling of scriptwidget's buttons