Parking Brake Not Working?

So this morning I went to release my parking brake and the button on the end of it actually popped out and exposed the spring that holds it down. When I pull up on the brake it does not click anymore, I can push a button inside the brake under the leven to try and lock it down which worked but the whole system isnt working like it should. Any ideas?
Its not GM's fault and so on. Its called "**** happens"
As for it not clicking,thats because the locking mechanism isn't working. Its a tooth I assume around a gear. The spring applies pressure to the tooth locking it down on the gear making it "click" and lock in place.
Take it apart and see whats broke. You may have broken the cable,but I dunno







