photoapp code restoredafter hard reset