private void OpenContactView(bool isSelectionMode)
        {
            if (_contactsView == null)
            {
                _logger.Info("show contacts view");
                _contactsView = Container.Resolve<ContactsView>();
                _contactsView.Show();

                var viewmodel = (ContactsViewModel) _contactsView.DataContext;
                viewmodel.IsSelectionMode = isSelectionMode;
            }
            else
            {
                _logger.Warn("contacts view already open");
                _logger.Info("push view in foreground");

                var viewmodel = (ContactsViewModel) _contactsView.DataContext;
                viewmodel.IsSelectionMode = isSelectionMode;

                _contactsView.Focus();
            }
        }
 private void OnContactsViewClosedMsg(ContactsViewClosedMsg msg)
 {
     _logger.Info("set contacts view to null");
     _contactsView = null;
 }