How to work with apps and actions?