Just like many self-help articles or books - the article mistakes consequences for causes and tries to guide the person to eliminate destructive consequences, without even looking or touching the causes.
Addictions is a mind reaction to avoid pain. In many cases it's an inner emotional pain alike feelings of guilt, worthlessness, desperation or depression. Addictive substance or destructive habit is nothing more than a painkiller - the only way mind know how to avoid feeling or reducing pain.
The real cure is not "replacing your destructive behavior with something better.".
If the real cause of addiction - the inner pain is not taken care of - the addiction returns in different shape, form, habit or substance.
THe real solution is steering mind to look at the pain directly, observe it, feel it, see it for what it really is and let it be dissolved with the light of your consciousness.
Addiction starts with pain and ends with pain, or more precise it ends when pain is observed directly, without mind interference.