Fixed bug that erased the note on device unlock