Removing onActivityResult method because it is causing crashes when clicking back button.