enable refresh when there is fragment