almost done ,left item counting and clear completed items are not working well