Use preference

currently, we actually don't use the search filter saved in the preference storage but use hardcoded search. this PR is to apply the saved search filter.