Added action to button.