[library]Add sqlhistory file and change button values.