added sample to save yes button pressed result in db