add history feature to todo