add show and hide item condition.