setting.plist can't be writed

change setting.plist to documents in sandbox to ensure preferences work
properly.