Pass ActivityPreferences to TaskAdapter