Fix WifiManager melory leak, change context to getApplicationContext