added calls onEnterForeground & onExitForeground

per comscore support they recommended using onEnterForeground &
onExitForeground in our apps instead of onUxActive & onUxInactive