catch exeption when something went wrong while setting default or lastused settings, fix crash when switching from back cam to front