perform a action to start an activity on preference xml file