Refresh option now only refreshes the current tab