Fixed a hang.
Use NSLineBreakByTruncatingMiddle instead of UILineBreakModeMiddleTruncation since its deprecated from iOS 6.0 on
Convert it to ARC
Fixed a deprecation warning