Cannot add groups to a newly inserted tab #39