Update player code

fix bug with track not changing when the playback queue was changed