Added a preference type that launches an Activity on launch
Fixed warning.