diff unread messages and deleted backbutton listener