added tool selection to the toolbar