Fixed bugs about wifi scanning when manual profile activation