A tub of this stuff might really come in handy.
It's called Sugru, a moldable glue that, when it cures, creates a rubbery bond that sticks to almost anything, according to the manufacturer. Though it's targeted to the general consumer market, it's more convenient than hot or liquid glues, and it's virtually waterproof.