Possession of Inanimate Objects
To indicate the possession of inanimate objects, give preference to "of" phrase not the apostrophe form.
e.g : "the roof of the house" is far much better than "the house's roof," which allots the house with human qualities. Inanimate objects cannot possess anything. Consequently, we say (and write) "the handle of the door" not "the door's handle". In the above examples the prepositional "of" phrase explains the connection between two inanimate objects.
However, today some grammar guides say that it is "generally unobjectionable" to use an apostrophe and an "s" to show possession of inanimate objects. But still in most cases "of" makes up for a more natural expression:
The color of the night vs the night's color.
The mirror of the soul vs the soul's mirror.