Export a behavior that changes based on the current preference