Simplify active tool detection