add the 'completed' class to the item when completed