Added the validated preference setting back.
Set validated variable correectly.
Handle denied OAuth result.