Program not working as intended

I wonder if this application actually needs an interrupt, or if it would be enough to just poll the input pin for the appropriate change, ala the state change detect example in the ide?