Add automatic refresh when the plugin launched.