added view reset trigger, todos example now has edits