TIMOB-13055: Add null check for tableViewItem

https://jira.appcelerator.org/browse/TIMOB-13055

Test case in Jira.