Several improvements for the groups popup on the home page

* Fixes #119 Switching groups on the homepage should be faster
* Fixes #118 Group popup menu on homepage contains empty entries
* Fixes #114 Hode group popup menu if user is only in one group