LPS-43694 Moves code to a method
LPS-43694 Creates a new function to show the current group
LPS-43694 SF - avoid code duplication