add setting activity and add timelapse funtion.