rework reference app to work in the background