Fix PhotoGallery.js: create application launcher object only when it really required
Merge remote-tracking branch 'origin/master'