refactor cache list menu

* move refresh to top instead of having "delete all" there
* disable some menu items for empty lists