saving default network type at startup