displays a new card when an option changes.