I need my app to run in the background when the register app is open and to stop running when the Register app is NOT in the foreground. Can someone point me in the direction I should take? We have a service that will run in the background but I cant figure out how to change the status of that service when the Register app is started or when it goes into the background.