Implemented refreshButtons and makeTag methods.