fix bug in function addSongToPlayer