Implemets playTrackFinished listener.