The easiest way is to make 'pipes' for the elastic, that gets sewn on to the back of the wasit band, adding the proper button elastic before sewing in
Then stitch the button in place on the side just in front of the end of the tubing , then stitch the elastic in front of the button
Its a very easy and quick job, but thats coming from me lol