@thetnaing I dont really understand your description of the problem, or how it relates to this topic.
If you’re using the Edgent sketch and your board is failing to retain the WiFi credentials then that’s probably caused by a pin conflict in Setttigs.h for the board type that you have un-commented in your main .ino file.
Read this for more information, especially the “Defining your physical switch and LED” section:
Otherwise, I’d suggest that you start a new topic and explain in detail what your problem is and what settings/sketch you are using.
Pete.