Fixed bugs in list refresh and group management