The setting's onChange fired before the settings store was updated, so
_getCounts re-read getSettingValue and got the previous value, leaving
the buttons one step behind. Pass the onChange value through
resetButton/_createButtons/_getCounts and only fall back to the store
when no value is given (initial build).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>