How to close and reopen the booking of activities with the scheduler