[TIMOB-16381] Retain the searchString instance

Fixes [TIMOB-16381](https://jira.appcelerator.org/browse/TIMOB-16381)