refactor: move attr to var
fix: clear search entry on reset & set forcus on search entry when packages is loaded
fix: filtering of seach result