fixed deprecated call in drawRect:

The call drawInRect:withFont:lineBreakMode:alignment: is deprecated in iOS 7 and needs to be switched to drawInRect:withAttributes: