Used getText method to get the button label