Added method "onRestrictBackgroundChanged"