Partial implementation of reset button