I see a Leatherman-type tool and a set of Channellock-type pliers in your photos. Using these tools on a bike is asking for trouble. Please invest in an inexpensive socket and ratchet set and some combination wrenches and use them instead. I'm glad you got the shifter fixed but the proper tools almost always make the job easier.