uTorrent : Clean code and set the good state for each torrent