Trace view: Add setting to keep ruler item selected