Refactored admin get/set db options.