Add button code for stopping a process