Fix crash of preferenceActivity orientation is changed
better layout in landscape orientation
update card in onResume instead of onCreate (fix gh issue #13)