I think this misses the zero case. More generally should we just alert and let the user correct the value instead of picking '1' for them? One seems like an unusual value for the demo, and if that wasn't the user's intent, it will take a bit of time for them to reset, wait for the instance to stop before they can change the value and restart the demo.