add checking wi-fi connection

before : check wi-fi connection right after download start. whcih occur
DATA usage.
after : check wi-fi connection before starting download.