Just make the pause button pause and then add the additional "cancel" button (in this case it's two clicks anyways for cancel, but ... only one click for pause ... https://www.opentest.co/share/a6aff80084c611e68035af33b8ecc370