UITextAlignment deprecated

Changed to NSTextAlignmentCenter for iOS 6.0 and above.