A popular pub minutes from Sheffield with views over the Peak District is to close for refurbishment after coming under new ownership.