onPause/Resume for Scanmatic