When finding wifis both from db and ScanResult, we can stop when we have found common ones. (with comments)