Guard against null intent in result handler to prevent nullPointer crashing apps when the picker action is cancelled with the back button