Added the property for control the buttons in the code