Use the key tap gesture to pause and resume calculation