Added compatibility with Background Manager
Added compatibility with Background Manager