Added method onThouchEvent