Refactored functionality to use the new FolderPickerActivity class