Application to extend block of flats in Harrogate rejected