Added buttons and click listeners.