Fixes bugs in preferences when no remote server has been configured.