Fixed GalleryActivity.