reverse Issue #229
network state for cordova reversed
fixed migration function in the case there was no installation before and the configuration object was initialized there