Added app settings (including screen rotation control).
Fixed problem with fragment children.