updated host to get the previous host
updated btnPlaylist