1, Fix divide 0 error.
2, Add deleting history feature.