Refactor FolderListFragment and associated Adapter.