I like that trick; might just have to adopt it myself! I've heard of it being applied to other things like sweets (e.g. you can have dessert but make your own from scratch, don't buy junk food). Just putting that extra obstacle in the way helps to avoid mindless consumption. Plus you probably end up enjoying it all the more when you have to work for it.