Fix signature of `setValueAndSave`

There's no user-visible problem here, but the API is incorrect for extension authors, so we should get this in sprint 36.

to @redmunds