How to set active project in jira or last access project


In my cloud AddOn… we are mapping our entity & logic with jira projects so we have provided jira project selection interface inside our app… now when use change project it’s not update left side links generated by app. so is there any way to change project id generated by jira.

If you see in left side menu generated once with last access project id.
Now i have switch project inside my app… but all left side menu have old project id.