refactoring: visit cache activity cleanup

* use alert dialogs instead of context menus
* simplify update logic