LPS-43589 Get the right value of the input check
LPS-43589 Makes send redirect when we haven't any error
LPS-43589 Fix redirect url in breadcrumb portlet
LPS-43589 Moves code to a method
LPS-43694 Creates a new function to show the current group
LPS-43589 Apply to other portlets
LPS-43589 Removes unnecessary code