Fix small bugs with reset button and examples