persist capture/selected images even when the device changes orientation