Fix enable status of button.