add functionality to save image

Still need to fix imageView