Minor refactoring of the FolderSelectionProcess.