save user's units setting