Get selected process on action

Fixes bug when the list changes under the selection
Autorefresh list of processes