refactored activity labels out of mergeRawData()

This way the small activity_labels.txt file is read only once.