Update index.php

Add hook to clear cache when new theme is activated