fixed bug: would clear all of wiretotal database when wifidog restart.