Save Setting#key properly on create/update