Added detection for single mode changes (single clicks)