mode switch for yosemite