Reverted changes for res/layout/main.xml of commit 3b3c89.

Height of TextEdit for a title got zero by its changes.
Enhanced to save/restore instance state.