Managing Boss

Today , after job boss ordered to everyone McDonald food. I don't feel comfortable to eat this food, so I didnt take it.
Then he came to me and asked , why I didnt take food.
I felt confused and told his that I don't like this kind of food...
Ups. Mistake. He felt bad, because tried to make all of us happy.
Then I went to our ice cream place, took a huge ball of Pistakio icecream, went to him and smiled ,,But I really love Ice Cream!"
So, I took from him what I like and made myself comfortable and made him feel that I am also happy like my other colegues.