Implemented Edit Task functionality