added spinner select to max distance
select for search