Could someone advise me how to change my current function so that looping through every item in the repeater would be done slowly? I think this could be fixed by an async function but I have only managed to change the name of it :). My current problem is that this function very poorly updates buttons in a repeater when it is called. Usually only half of the buttons are affected and mostly at the beginning of the repeater, which results in showing incorrect information in the repeater when a date is changed. There are about 20 items in the repeater, thus 40 buttons need to be updated when this function is called. Let me know if you need any additional context to suggest a solution for this function.