Fixed delegate buttonclick
updated docs
updated docs