When is it worth creating a separate category?
You might use the same card for groceries and meals out. Give restaurants their own category if you want a separate limit for eating out. If you only care about your total food spending, one category will do.
What changes when I assign money?
A category groups purchases as soon as you start using it. Assigning money sets the amount you have for that purpose. If you plan 100 zł for lunches and spend 28 zł, you have 72 zł left for the month.

What if I used the wrong category?
Change the purchase’s category in History. The lunch will then use the money set aside for restaurants, freeing up the same amount in groceries. Your account balance stays the same.