index changes to incorporate toll detection while app is running in foreground