You can star or unstar a track through the star and unstar functions from the Library model.
star
unstar