Rio residents rely on an app called "Fogo cruzado" (Crossfire) to keep track of all gun battles happening in the city on any given day in order to avoid them.