void OnApplicationPause(bool tf) { //On hitting the home button, the app tends to turn off the flash //So, setting the UI to reflect that m_UIEventHandler.SetToDefault(tf); }