On the personal question of whether I would cook, my answer is possibly. If this were a blank replicator into which I have to enter food examples, then I would definitely cook in the hope of doing my best and saving that copy. I would likely cook less in that case, since mediocre (neither good nor bad) would be tolerable for long periods. Eventually I would get frustrated or decide I have time to make a better attempt. That assumes I even mess up in the first place, or have only limited cooking facilities. With the right kitchen I would probably start with the things I eat most often, the my favorites which I eat infrequently, and then difficult dishes which sound good but I eat very rarely.
As for a preprogrammed replicator, that means I am far less likely to cook for myself or bother cooking for others. Although, this comes down to quality too, so is the quality merely good, excellent, or astounding? If it's good, I would be reluctant, but I might occasionally try to do better since I'm a good cook once I get used to a recipe. Merely good food can get boring. If the quality is excellent or better I am very unlikely to bother, unless there is a hole in the menu which needs filling. That hole could be an interesting variation I see and I do crave variety now and then, so I might use that as my reason to cook. On the other hand, restaurants provide diversity of cuisine.