@Override
    protected void onCleared() {
        super.onCleared();
        mNrfMeshRepository.clearTransactionStatus();
        messageQueue.clear();
    }
View Model class for {@link HeartbeatPublicationActivity}
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/HeartbeatViewModel.java