save photo and video and selecting them