Acetronics,

i really don't understand very well how it's works BUTTON, but, it will work if I use BUTTON just when PIC is turned on.

By example the following flow,

1. turn on PIC and if button is pressed 2 seconds GOTO X, or

2. turn on PIC and if button is not pressed run normally.