Fixed all groups popup

Plus, added prototype for creating a group