delegate the widget toggle button