The cursor tool was not updated selecting a new layer and a new cursor tool.
The digitizing cursor tool stayed active although the delete tool was clicked, for example.
The "selectCursorByToolByGeometryType" method returns a cursor tool now.
The "addButton" method obtained a new boolean parameter to proof if the button added the first time after opening the toolbox.
Changed the order of the methods, too.