Fix for issue where preferences weren't displaying correctly after using widget to change profiles