* Coded clear cache generic method
* Added clear cache broadcast when leaving a mode