Set up date time range with the repeat button