Added pause using 'space' key