Detecting Third button press

yes? How does this have to do with resetting the board with a switch