Boolean toggle switch doesn't update

Your second callback is triggered only when “dummy-div” is updated, so unless it gets updated by a different callback (not shown) that takes the toggle as Input (and not State), toggling the button will have no effect on it.

Please also note that you could have a typo, as you have “dummy_div” in the label update callback and “dummy-div” in the other.