Quick fix - Wifi null error in getting neighboring wifi (NEED TO FIX IN DETAIL LATER)