Adding support for iOS 7's preferred attributed text keys to solve deprecation issues