Database handle multiple directories (#14), only the first record is showed in the settingWindow (have to change that)