Save view instances state through context lost