val mSaveBtn = mAlertDialog.findViewById<Button>(R.id.saveBtn)
mSaveBtn?.text = "수정하기"
mSaveBtn?.setOnClickListener {
val memo = mAlertDialog.findViewById<EditText>(R.id.tripmemo)?.text.toString()
val memo1 = mAlertDialog.findViewById<EditText>(R.id.nextmemo)?.text.toString()
val database = Firebase.database
val myRef = database.getReference("myMemo").child(Firebase.auth.currentUser!!.uid)
val model = DataModel2(dateText, memo, memo1)
myRef
.setValue(model)
mAlertDialog.dismiss()
}