Changed the way new network settings get loaded

This way you don't introduce a potential racing condition
updated the pb_netconfig function