1.replace snprintf in sqlite scentence with sqlite3_snprintf; 2.auto reboot according with ProductDesc.xml, not 4:00 staticly