Clear cache when menu changed.