Restart cfprefsd before restarting Dock to ensure settings are read