Improved ImageGallery: finish ImageGalleryActivity.java on click