Timer is a bit fortified
New touch algorithm is debugged and is working