Not stable!! insert to sqlite all messages sent