added onClickButton for the CustomButton