displ;ayed both basic and detailed view for flats while assigning building flat to apartment