It should be removed completely
Change the sketch so that it detects when one or other of the buttons becomes pressed rather than when it is pressed
The StateChangeDetection example in the IDE will show you how to use the detection pf a state change to increment a counter. Use that principle in your sketch