Fixed bug about wifi scanning. Again. :-/