Added synchronization between wifi/bluetooth scanner and change state of
wifi/bluetooth  when profile is activated