fixed the group list bugs in Preferences