Getting the activities launching from the context menus