Fix bug requiring software restart to display new stake

I tried to fix the bug preventing the stake from being displayed in the overview tab of the GUI when minting a block (restart needed to see it).

However, I wasn't able to test it because my testnet coins aren't old enough to mint, and I don't know if some of my real coins will mint any time soon...

Maybe one of you has old enough testnet coins and could give it a try ?