Revert "a more elegant solution for reset button"

This reverts commit 8196ead1a06edb45e78db8d53db7179466992217.