1) Launch yarn service
2) Go to service page and click on Setting button->"Stop Service". The application will be stopped.
3) Refresh page
Here, setting button disappears. Thus, user can not delete service from UI after stopping application
Setting button should be present on UI page after application is stopped. If application is stopped, setting button should only have "Delete Service" action available.