Fix preset saving to localStorage