Detects screen brightness changes and provides some useful delegate methods.