Helper function to save tracks data created