Added preferences example.
Added dialog example.
Added notification example.