Think I get it now! since TM is a counter that adds as long as the touchscreen is touched, the condition TM > 0 will be true each and every time TM goes +1, that's why I had this cintillatin, always changing 0/1 flag value. On the other hand TM == 1 occurs once and exactly only once each time the touchscreen is pressed.