[Solved] Double triple press , simple RF remote

found this code ...
can anyone think of a way to make the delay reset for every press i get?