added toggle option
update groups info every time you open the panel