Defining the custom button's properties