Bug/offline sms notification fixes