The book also mentions that people who had built a habit switched back to old habits under stress. It looks like author had this situation.
Multiple parallel things led to an overwhelming routine and he fell off the waggon.
Meditation helped hi. apply breaks and re think on every day decisions