Added handler to button.