Fix for name preference
Name preference summary now contains name
Improved lifecycle management for MainActivity and SettingsFragment