Fix ActionToggleButton not updating correctly