Complete the main layout
complete the function of save safenumber to SharedPreference,that is the init method