delete activity
add pref helper