Save and get setting into extension API