crash issue

In Type 1: when there is no pre-loaded data on first opening
In type 2: when there is no-preloaded data on tapping on the SendMessage TextField