callbacks for 'pause' event