Small refactor of CardsActivity's createIntent.