Refactor turn-off-dashboard to use osx::defaults

They've fixed the boolean issue that required special code - now we can
just use regular defaults code.