Fix: refresh function, every new search removes items selected earlier