Should the person entitled to such land at the time of reentry made, or having a claim thereto, not pay or tender the rent and all arrears thereof, with interest and all reasonable expenses incurred about such reentry, within one year from the first day of publication as aforesaid, he shall be forever barred from all right, in law or equity, to such lands. In case any party, having such right, shall pay or tender such rent and arrears with interest and expenses as aforesaid to the party making reentry, within the time aforementioned therefor, he shall be reinstated in his possession to hold as if the reentry had not been made.