added one more method: stopAdvertising()