Rewire companion. It records the days, give you badges for getting to milestones which get further apart the further in you get. It records you relapses and gives you a summary, like if you only relapse at night then it will tell you that... it even tells you that you relapse more on a Tuesday for example.