problem getting touchshield to operate arduino pin

i got it working. thank you.Do you have any subjection to make it more reliable? When I touch the screen, it does the function I want on the screen, but I have to repeat it few times to get the output I want on the arduino ports.