Well as an adult you have the ability to pick and choose what you would like to do. If your friend cannot deal with you smoking one cigarette after kicking the habit, then you find yourself dealing with someone who is trying to control you.
Do not let anyone try to tell you what to do, including these people. Smoke as you please.