Refactored the way to refresh the RecyclerView