add a menu to refresh the page or quit