push notification when message is sent works