Added escape key as a pause button