Fix settings dialog when offline