Adding support for custom bar name

Change-Id: Ia22c422acc628b4022696f264c6e2653d81b4f90