Restore unread count after app close