Added functionality to erase and select default photo (some refactor might be good)