Changed the button constructor