add local db(for save fragment state)