clicked() is the wrong signal to use, it only activates on actual user click, not when the value is changed. toggle() activates whenever the value itself is changed.