Adding toggle button for local networking.