move wifi scan interval to init