I have tried a similar approach in the past with very poor success. I always ran into bounce issues, amongst many other issues. I finally found a winning solution. Maybe this will work in your case.
1) I had to get off the LED or infrared,sensors and move to a magnetic one, I can give you a...