Added support on front end to mark a todo as done or not