Simplify setTouchAction api