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

fix crash when user shakes-to-undo after sending text message. close #508
Merge branch 'develop' into release-6.0