addPastActivity(); method added