Added a simple onclick event to a button