window not working in 1997 528i

There is a little ball-like thing on a wire that helps the window move up and down. It has slipped out of it's place on the window channel. My son
moved it back in place but it slipped again soon after.
1 - What can I do without taking it to a dealer that is not a short term fix?
2 - What is a long-term solution?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.