Fix for notifications not marked as read in app

fix #818