fix saving changing pattern options