edit todo items and accept changes