Configuration of auto refresh period

- Adds configuration of the available periods, as well as the default
- Adds an interactive setting to the preferences page