fix crash with onSaveInstanceState
fix crash with empty device type
fix crashes from crittercism
refactoring; handle change of internet connection
fix problem with data updates