set active tool and deselect tool