Added support for reset button