slight refactoring to use checkButtonPressValidity()