added save previous user input string and input label options to datasource search with user string