Is it possible to execute a function when clicking on an action button? Other than launching the app? If so, how?