Cant stop code from being run after reset

Did you change the button logic in activate() as well?

Please re-pot your entire code.