added functionality to take/select pic/video