Added onClick property to buttons.