am b17765a3: fix bug in saving preset

* commit 'b17765a3e9ead269493d7a851a21af3622931c40':
  fix bug in saving preset