Bring mainwindow in front when notification is clicked and other windows are in front.
Fix file renaming.