call updateButtonState when setting a new baseline to make sure it stays in sync