Fixed crashes when updating share intent