fix "calendar pane" script for the "add aperiodic slots" function