Implemented SlideshowActivity's onActivityResult method.