public void toggleGroupInList(DRAttribute att) {
int curDex;
DRAttribute newAtt;
NSMutableArray arr = new NSMutableArray(attributeList());
curDex = arr.indexOfObject(att);
if (att.isGroup()) {
newAtt = DRAttribute.withKeyPathFormatLabelTotalUserInfo(att.keyPath(), att.format(), att.label(), att.shouldTotal(), att.userInfo());
} else {
newAtt = DRAttributeGroup.withKeyPathFormatLabelTotalListUserInfo(att.keyPath(), att.format(), att.label(), att.shouldTotal(), new NSMutableArray(), att.userInfo());