add preview and auto focus functionality to camera activity