Added some comments to getActivityLabel()