Added specs and code for editing task items