Sorry for the late reply.
Has the pain gotten worse or better during that week? Can you describe the pain for me? How is the pain now?
Greenish yellow phlegm means there could be an underlying infection, or more likely, as you suggested, the cessation of smoking.
Has anything you've tried helped prevent the pain?
If it is reflux, you could try sleeping sitting up more in bed.