Replaced the deprecated UITextAlignmentLeft with NSTextAlignmentLeft.