add sample preference intent.
code layout.