refactoring user settings
fix bug when returning to work hours after go to web mails in settings