Added functionality of completing ToDos