I'm trying to write a function that handles track switching. The idea is when there is still a track playing , use the replace function. When the current playing track is stopped and there is no ...