Fixed bug in preset saving