Maybe he lost the string at some point and being so stupid, he couldn't reattach it. Nami installing a new one would have been a similarly big deal under such circumstances.

It's easy to understand how Luffy is still so stupid when he was this bad already as a kid. He devil's fruit must have stunted his brain development. Good luck these pirates aren't much better or they could have tricked the treasure location out of him.