fixed issue #5 and partly issue #6 (resign works; clicking x does not remove cell if tap gesture is attached to the same superview)