fixing the no active app on photos issue