Adding proper main window notifications on file change