Modified the fix for IllegalArgumentException exception. Removed
configChanges parameters from activity declarations in Manifest.
Implemented the deprecated onRetainNonConfigurationInstance() method
until the new GUI is ready. The new GUI will use retained Fragments
instead.