Using only when the attributedText property exists.
Merge pull request #1 from laiso/fix-ios5-crash

Crash app when create a group in iOS 5.