Adds click handlers for all buttons