implementing task editing and removal