Fix settings save page crash