Fixes #8 Allow to enable/disable autorefresh