resume and pause scanner based on app status