Fix crash image preview and post image when delivery notiication came