Modified toolbar state by removing toolbox button when generator view is showing.