cleaned up the provider's static members.
added some fragments for rebuilding preferences stuff.