Added project name in the main window title if restoring database