CardDataSource had to be initialized, even though it is not used in MainActivity. Because MainActivity is using the static method CardDataSource.getCard(id). I think it worked earlier