Add saving times to SQLite