add action handler to extension button