prefernce with a custom layout