Changed function name to be more accurate (on_refresh -> on_button).