An Act amending the act of June 11, 1935 (P. L. 319, No. 141), entitled "An act authorizing the waiver of trial by jury in certain criminal cases, ***" further providing for the waiver of trial by jury, declaring such waiver to be a matter of substantive law, and making certain repeals.