check button state resolution