Settings: fix network settings bugs for wifi