Changes to the database to remove any calls to the SharedPreferences - this can only be called from the OnCreate method of an activity and will crash any class that tries to use it any other way.

Kristian - you will need to change where you called the prefPace or unitType

There is a new class that shows the format of code to add called AccessSettings which is in the Database package for now.