Fix bug where it will wait endlessly if a Spotify track is paused the last few
seconds of a track (after new track has been opened)
Remove build warning caused by data type mismatch