You now know where it goes to hold it when not in use so it doesn't flop around right, the plastic clips on the side of the top frame under the right side, under the tank when it's down, and it only fits in one direction. Plastic tip in back, metal tip in front.
And when in use it, it goes from the bolt hole in the front of the tank the plastic tip. To the bolt hole in the frame that the bolt came out of, the metal tip. I hope this explains it.
The flickering light is either a bulb on the way out or a dirty connection, could be in the socket or any connection back to the fuse block, usually if you shake the connections around and it flicker's you find it, and after you clean it put some dielectric grease in, on, whatever you cleaned, except signal wires like the ECU, or fuel injectors.
And I spray it dry with the evaporating electrical contact cleaner. There's 2 different types of spray electric contact cleaner, the other one has a lubricant in it, that's what you're going to use the grease for, you can probably use the one with the lubricant on the ECU and injectors, signal wires, and I don't mean turn signal wires, low voltage, ma, signal wire's. There's a difference