#JC-1841: Edit Branch Permissions:
*Avoided similar id for different elements
*Refactored according code review