add: document.getElementById("new_command").removeAttribute("disabled"); document.getElementById("new_todo_command").removeAttribute("disabled"); 
context:     onCalendarRegistered: function(aCalendar) {        // Enable new calendars by default        getDisplayComposite().addCalendar(aCalendar);        setCalendarManagerUI();    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7c27092a43b9ed14f3d3d9b2bb546e9d24ddbc5c/calendarManagement.js/buggy/calendar/resources/content/calendarManagement.js