Fix bug with not updating the item count app startup for first time