Need to make sure the button is there before checking if it is enabled