Updated file data records and tab title after saving an empty file.
Added a little bit delay before refreshing file tree.