customize history

added Db backed up history selection.