Fixed bug with binding click event on reset button