Run an if-else once

What you're looking for is called signal edge detection. You don't care that the input is LOW, you're just looking for when it goes from HIGH to LOW. To do that, you need to keep track of the last reading. If the current reading is HIGH and the last reading is LOW, you have what's called a falling edge.