read search string after search button clicked