The timing of the shooting and the anti-violence prayer vigil underscores the city's ongoing struggle with gun violence.