Merge "Default the lastSelectetNetworkId to -1"