Add define to switch between pushbutton press and release