refactored data saving in chats manager;
fixed typing and reading notifications in chats manager;
fixed removing an unknown peer identifier in chats manager;
attempt to improve multipeer network provider, will now disconnect upon entering background