Registered event listener for group creation. Cleanup is needed.