Switching from restaurant to takeaway during the COVID pandemic