Update diagnostic.js

Added method switchToNetworkSettings();