refactor _handle_btn_delete, make more faster