Fixed major bug in settings restore: tempFormat has to be restored first or other settings are misinterpreted!