Fixed "Email settings hidden after refreshing a page" (fix #1059)