switched out deprecated UITextAlignment enum references to NSTextAlignment