Add option to enable/disable auto refresh in the views files