Added the button listeners.