Reset user settings

Which ESP 8266 contacts need to be closed when the Wi-FI controller freezes? Reset user settings.

Button 0.
With whatever GPIO you assign it to.

Please help me. I don’t understand what to do next.
I put on the button 0 - GPIO1. On my “Node MCU v.3” this is the TX pin.

  1. Next, you need to select the button type. What type to choose for a non-latching micro button?
  2. How then to tell the program what I want with this button, to reset the user’s settings?
  3. Button connection. One button pin on GPIO1, and the second one? To GND, 3.3, 5V?

Understood. Thank you!