Configuration function Complete.
Configuration Code

Preference api complete