Problem need to be solved, can not get the value in userdefault