When a user switches namespaces the links in top navbar always point to the namespace set as 'default' for the current logged in user.
Steps to reproduce:
1. Login to CDAP
2. Create a new namespace named "NS1"
3. Set the current namespace as 'default' by clicking on the star icon next to the namespace in namespace dropdown
4. Switch to NS1 namespace
The links in the top navbar should have references related to NS1
The links still point to the namespace that was set as 'default' in step 3.