update action for normal view

@maethu @elioschmutz I updated the action so it works with multiple views.