notification if statement in navigation index