Changes tap to click and resume function
Adds resume code