Resolving to change a behavior is often compared to flipping on a switch. You start with a lot of motivation and the best intentions. You succeed for a while. Then temptation. Frustration. Boredom. A nibble here, an extra meal there. A skipped workout, an extra rest day, a half-hearted run.