improved 'normalize Locastorage value' function
fixed settings remembering