Handle screenSize configuration change to avoid Activity restarts.

See https://github.com/ankidroid/Anki-Android/pull/101 for the details. This is it again for the 2.0.3 branch.