Completed the search function of store selection