The "STTM" variable is equal to zero, until you touch the screen. then it increases by 60 units per second until you stop touching the screen. So, instead of using "IF STTM!=1 THEN", you should use "IF STTM>0 THEN". This should fix the problem.