now searching is case insentive
fix a bug, now it will reset search bar when project or tag is switched.
code refactor