Fix crash during manual network selection