Correctly fills the UI with new cards when needed.