marginRight: '10px'
                    }
                  }
                },
                {
                  button: {
                    text: 'Add',
                    onclick: () => {
                      const text = getState('newTodoText', '').trim();
                      if (text) {
                        const todoId = Date.now().toString();
                        setState(\`todos.\${todoId}\`, { text, completed: false });
                        setState('todoList', [...getState('todoL