message: [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.
diff: @@ -134,7 +134,7 @@ public:
  }
  void updatePurposeCachedCounted(std::string purpose, bool add) {
  - int *var;
  + int *var = nullptr;
  if (purpose == AddressBook::AddressBookPurpose::RECEIVE) {
  var = &recvNum;
  } else if (purpose == AddressBook::AddressBookPurpose::SEND) {
  @@ -143,9 +143,13 @@ public:
  var = &coldSendNum;
  } else if (purpose == AddressBook::AddressBookPurpose::DELEGABLE || purpose == AddressBook::AddressBookPurpose::DELEGATOR) {
  var = &dellNum;
  + } else {
  + return;
  }
  + if (var != nullptr) {
  if (add) (*var)++; else (*var)--;
  }
  + }
  void updateEntry(const QString& address, const QString& label, bool isMine, const QString& purpose, int status)
  {
  