added refresh function and icon

still crashes when selecting the same menu item twice...