Pause and resume camera preview. Confirm and discard a taken picture

Signed-off-by: Jorge Luis Sarmiento Herrera <yorchsarmiento@gmail.com>