Fix UITextAlignment deprecation

replaced with NSTextAlignment