Adds the condition for displaying of subNav button.