Calculate the next free time and show it in the UI