Fix for connections url preference in gadgets