Adding "Preferences-Folder Colors" not refreshing

When adding new colors for folders via "Preferences-Folder Colors", the color display does not refresh until I close the entire preferences dialog box and then reopen it. It shows as default black until I do so.