pressing esc to pause ticks the box