working with custom dropdown on search bar