A new apartment block is to be built in Preston city centre in spite of concerns about its height.