App offers safety in a riot