Why does the appointment slots widget counter does not get decreased?