added persistence to the monitor if open when refreshing