added changed RefreshButton.Clicked to event handler to allow for unregistration