use view id. add SharedPreferences