check for wifi when below SDK level 18