Revert "Don't store photos in background"

This reverts commit 6ad5aaeb67cf447d96efdf509af10386f9c91fa6.