Created action to toggle mark occurrences.