firebase working but reset button is not