fixed issue to reset the rgb text value of the average color