Fixed user preferences saveing