new toggling function

function changes li class from complete to incomplete when clicked on