modified buttonLabels to object