invalidate simple cache when settings are reset
moved cache invalidate to better location