Added saving connection settings to registry