Delete cache after changing theme [#1352]

After changing the theme, it delete's the cache to make sure the theme reloads immediately.