Support user and global settings and save to the registry!