Updated navbar controller to indicate which tab is pressed