Bug 1003734 - Fix the locators of gallery apps