Corrected warning using UITextAlignmentCenter.

Modified the usage to NSTextAlignmentCenter.