Solved the button pass parameter problem.