Updated UI refreshing, fixed bug with repeating groups