Replace UITextAlignmentCenter, which is deprecated, with NSTextAlignmentCenter

Minor refactor.

Other parts of the code already use NSTextAlignment* constants.