Added delay-method in order to give the application time to properly save taken image before displaying it. stopPreview-method also removed from cameraPreview class