changed UI for editing todo, added functionality to delete todo