*Added activeFlag for content provider