Fixes options saving.