Fix settings dialog