Combined both refresh button events