fix bug in saving preset

bug introduced in CL 361110

Change-Id: I8fd283859d0f0f6a4b9e06e95c533b68085c156a
2 files changed