How to Trigger Good Habits Automatically