Move up updateCustomLabelTextSummary function so its defined to others