Added pause on click