basic refactoring of apartment info window style