fix crash when user use Undo after sending text message
Merge pull request #507 from alr/iOS6_support_stable

fix crash when user use Undo after sending text message