Fixed wake preference not being restored.