added intent null pointer check to FileManagers onActivityResult