Implemented the onActivityResult method in the ActivityLoaderActivity class