Refactored handleDeleteBtn to remove the selected from the register first, before removing from the observable list