Debounce feature added. Interrupt working. Debounce delay seems to work well at 500ms