changed order of addtotoolbar and module definition it did help; The button appears always; reason: vodoo; best guess:load order of javascript otherwise overwrites the module-object for some reasone