I have the exact same rifle. The mag box housing holds the button in place. You should notice something that looks like a lever on the mag housing. That is exactly what it is. When you push the button, it presses the lever in to release the detachable mag.
Just put the button in place and tilt the stock so it doesn't fall out. Drop in the action and it will be good.
Bookmarks