Made the last saved file active in the tree view