Label Creation

I have built two scripts one copies selected labels from the alignment, the other from the profile view to the alignment. They work fine if the profile view is contagious but when the profile views are broken up, both scripts erase the labels on the other view. Suggestions ?
Profile to Alignment NO TABLE.dyn (29.8 KB)
Labels Alignment to profile.dyn (39.5 KB)