check flag in refreshauto
Merge pull request #46 from sabughnaim/master

check flag in refreshauto