Fixed a crash happening when trying to resume the app
Fixed  preferences not showing the actual representations of their values