Found one more small bug, if tapping 2 times consecutively on "refreshButton" the stack of cards gets loaded twice and the top card wont move, can't be liked or disliked. only the cards underneath the top card will react to like/dislike. I found a solution where handleRegresh works only when topCardView is empty, at the end of the stack, or in my case at the end of paggination which i kept as a feature.
@objc fileprivate func handleRefresh() {
if topCardView == nil {
fetchUsersFromFirestore()
}
}