Saved data to SQLite database.