implemented ui for remove button