Fix flash message when clearing cache