set default search programatically