Enabling the touch function