added injury delete button and injury logic to make new primary [#82521050] and [#82520966]