set values to static so only one instance is created
set values from preferences
altered variables for clarity
setup decimal format in main activity