How to turn off Active Scan when new definitions arrive