Added a missing variable to activate the menu.
Changed the variabel name for tools active