Some settings use 0 as the disabled state. In this case, the previous enabled value was lost. To prevent this, the last value now gets saved and set again when enabling the setting again