added camera and gallery handlers