change sms db
enable sms timer,log send sms log to file and fix write sms send history to table