fixed pictures share feature crashing if app is not running