Fixing various issues in the experimental UI menu

This pull request fixes the following issues with the experimental UI menu:
- [x] Setting the active menu item tab 
- [x] Fixing logout functionality
- [x] Making notification count update when a notification is generated