changing occurrences settings