Added the "tap to delete" function