Fixed unable to set the callback for tap