The simplest method would be to add a system wait, and assume that waiting a second or so would be enough time to revert the button, and then go to the other part.
On touched object, set object frame to 1, wait 0.5 seconds, set object frame to 0, wait 0.5 seconds, do foo.