Add support for adding and removing completed tasks in backend