profile_name does not change while client still running
When tryton client first opens it takes the last used profile_name from CONFIG.
However, if you re-connect and use a different profile, the value of profile_name is not updated.
We can instead update the name from the active option in the dropdown to keep it fresh.