Added delete channel logic