Bug 1050679 - Use wifi network information of state change event.

If you are going to use `event`, you still have to update `_wifiEnabled` because `_updateNetworkStatus` is one of its callback function. So remember to put `event` there and pass it to all callbacks.