set refresh data flag
            return True or False

def get_refresh_flag(self, filename):
        """ set refresh data flag
            return True or False
        """
        if filename is not None and filename != self.open_filename:
            self.open_filename = filename
            self.tree_refresh_flag = True
            self.data_refresh_flag = True
            return True
        else:
            return False