UITextAlignmentCenter is deprecated

UITextAlignmentCenter is deprecated, changed to NSTextAlignmentCenter