Settings: fix network crash bugs when device startup at the first time.