Fixed bug with clearing completed todos