Fix bug. Store correctly new data in sample_management_activity