Update GalleryActivity.java