move refresh interval to persisable config