Added a function to manually start/stop the scan.

This is helpful when adding the fragment to a ViewPager and it's required to stop the scan while the fragment is off screen.