Launch Marketplace via the app icon instead of via Javascript
Refactor app name variables
Remove explicit switch_to_frame calls and unneeded launch calls