[Bug] Fix segfault on GUI initialization for cold staker wallet
[Bug] Fix segfault on GUI initialization for cold staker wallet

the pointer 'var' in updatePurposeCachedCounted might be uninitialized
(e.g. in the case where purpose = COLD_STAKING). Add a default case.
Darknet-Crypto/Darknet,Mrs-X/Darknet,Mrs-X/PIVX,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,Mrs-X/PIVX,Mrs-X/PIVX,Mrs-X/PIVX,PIVX-Project/PIVX,Mrs-X/Darknet,PIVX-Project/PIVX,Mrs-X/Darknet,Darknet-Crypto/Darknet,Mrs-X/Darknet,Darknet-Crypto/Darknet,Mrs-X/Darknet,PIVX-Project/PIVX,PIVX-Project/PIVX,Mrs-X/PIVX,PIVX-Project/PIVX,PIVX-Project/PIVX,PIVX-Project/PIVX,Darknet-Crypto/Darknet,Darknet-Crypto/Darknet,Mrs-X/Darknet,Mrs-X/PIVX