Added Preference for automatic/manual refresh