Adding Buttons , setting a counter