Prepared action listener for firing buttons.