Fix preferences saving
Switch to relative URIs for editing