add togglebutton to gui