changed code in order to look more like what the android docs says about the camera intent