Added functionality to start an activity from a triggered action.

Please take a look.