add save & open button but don't work properly when camera is open