add show and hide item, built refreshItem function