Fix for options not saving.