fix : various fixes

- fix : upon creation of 2+ accounts, the blockchain name appears
  as registerable regardless of check.
- fix : after having already created account without registering
  a blockchain name, editing the account to add a blockchain name
  succeeds but does not return to user to the UI from the loading
  page.
- fix : editing account details more than once, does not return
  the user to the UI.
- fix : click to accept modification for an account without any
  data changed result to wrong behaviour.

Change-Id: I08f19e6c902070b6260c466670badf3eab606934
Tuleap: #790
diff --git a/MainPage.xaml.h b/MainPage.xaml.h
index f04bc26..efa59b6 100644
--- a/MainPage.xaml.h
+++ b/MainPage.xaml.h
@@ -59,6 +59,7 @@
     void DisplayProperties_DpiChanged(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^ args);

     EventRegistrationToken dpiChangedtoken;

     Rect bounds;

+    bool editionMode = false;

 

     void _toggleSmartBoxButton__Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);

     void showFrame(Windows::UI::Xaml::Controls::Frame^ frame);

@@ -73,5 +74,7 @@
     void OnregistrationStateErrorGeneric(const std::string& accountId);

     void OnregistrationStateRegistered();

     void OncallPlaced(Platform::String ^callId);

+    void OnnameRegistred(bool status);

+    void OnvolatileDetailsChanged(const std::string &accountId, const std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<const std::string, std::string>>> &details);

 };

 }