Bad habits can be defeated – even when we think we are doomed. It takes two little changes in our mindset: awareness of cues and replacement of responses.