Using closures to keep id of options persistent - seems to work now.