Add reset button
Optimize multiple calls to reset