Try adding a toggle component to feed your toggle2nist component. The toggle component comes with a debounce delay, which sounds like what you need.
net toggle-ok toggle.1.in <= or2.1.out
net togglesig toggle2nist.0.in <= toggle.1.out
net toggleon halui.program.pause <= toggle2nist.0.on
net toggleoff halui.program.resume <= toggle2nist.0.off