fixed prefs name error, renamed const to be clearer. fixed toast bug
fixed setup code