Making the clear completed button functional