Raise the tank, remove the top throttle cable from the bracket.
Remove the bar end.
Remove the two screws that hold the switch/throttle housing together. One on the front, one on the rear. You'll need a short screwdriver unless you want to remove the fairing.
I took the cables loose from the housing so I could lube them, but I don't think it's necessary.
Taking the top cable off under the tank should have given you enough slack to get the cables off of the tube.
Slide old tube off.
Reverse procedure to install. Readjust cables and that's all there is to it. The plastic washer that's on the new tube goes inside the housing.