Re-add Refresh menu handler.
Fix a warning.