Fix settings save