Just like with computers, these devices operate in the same way. For example, if you are running application, and you turn off your computer, the operating system will not save the settings or anything related and in many cases the result of this action will be corrupt settings, databases, etc.
Your case is the same as the one described and I have to tell you that there is nothing to do about it except to perform a factory reset to properly configure the device to its original state.