Added a Scala preference for Mark Occurrences

Added a toolbar button for quick access.
Fixes #1001466