first attempt to multiple links to apps
added module type: UI or background, added some more checks