Select all should be enabled even if we unselect one element, to provide
further rendering of new elements.
Adding the promise to the case when we selected all the contacts
Clean selectedall flag when exiting select mode
Independent state tests for selection mode