Saving & restoring currently selected network from config file