Only flush cache when selection finished